<template>
	<div v-show="isshow" id="loading">
		<img src="./loading.svg"/>
	</div>
</template>

<script>
export default{
	name:'loading',
	data:function(){
		return{
			isshow:true,
		}
	},
	methods:{
		close:function(){
			this.isshow = true;
		}
	}
}
</script>

<style scoped>
#loading{
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.7);
	display: flex;
	align-items: center;
	justify-content: center;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 11;
	opacity: 0.5;
}
#loading img{
	width: 8rem;
	height: 8rem;
	display: block;
}
</style>